<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <button class="btn">按钮</button>
    <script src="../../jquery-3.2.1.js"></script>
    <script>
        let foo = (a) => {
            console.log(a);

        }
        foo(1);

        document.querySelector('.btn').onclick = function () {
            console.log('于明杨爱睡觉');

        }

        document.querySelector('.btn').addEventListener('click', () => {
            console.log('困了的同学，自动站后面去！！')
        })

        let aa = () => {
            console.log('111');

        }
        aa();

        let aa1 = a => {
            console.log(a);
        }
        aa1(123);

        console.log(this);
        document.querySelector('.btn').onclick = () => {
            console.log(this);

        }

    </script>
</body>

</html>